JBoss Community Archive (Read Only)

RHQ 4.7

This page collects the information on the changes in the public APIs of RHQ. Since RHQ 3.0.0 is currently work in progress, this page is going to change as it matures before the release.

Plugin API

New APIs

org.rhq.core.pluginapi.bundle.*
org.rhq.core.pluginapi.configuration.ConfigurationFacetSupport
org.rhq.core.pluginapi.configuration.ResourceConfigurationFacet
org.rhq.core.pluginapi.configuration.ResourceConfigurationUpdateException
org.rhq.core.pluginapi.inventory.ManualAddFacet
org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext#<init>(ResourceType, T, ResourceContext, SystemInfo, List<ProcessScanResult>, String, PluginContainerDeployment)

Changed APIs

  1. org.rhq.core.pluginapi.configuration.ConfigurationFacet newly extends ConfigurationFacetSupport which in turn is a newly introduced empty interface. This therefore represents no major API breakage but is worth mentioning.

  2. org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext#getPluginConfigurations() is deprecated in 3.0.0 in favour of ManualAddFacet

Remote APIs

Remote EJBs

New

org.rhq.enterprise.server.auth.SubjectManagerRemote#getSubjectByNameAndSessionId(@WebParam(name = "username") String, @WebParam(name = "sessionId") int)
org.rhq.enterprise.server.authz.RoleManagerRemote#setAssignedResourceGroups(@WebParam(name = "subject") Subject, @WebParam(name = "roleId") int, @WebParam(name = "groupIds") int[])
org.rhq.enterprise.server.bundle.BundleManagerRemote
org.rhq.enterprise.server.configuration.ConfigurationManagerRemote#translateResourceConfiguration(Subject, int, Configuration, boolean)
org.rhq.enterprise.server.configuration.ConfigurationManagerRemote#updateStructuredOrRawConfiguration(@WebParam Subject, @WebParam int, @WebParam @XmlJavaTypeAdapter(ConfigurationAdapter.class) Configuration, @WebParam boolean)
org.rhq.enterprise.server.content.DistributionManagerRemote
org.rhq.enterprise.server.content.EntitlementStuffManagerRemote
org.rhq.enterprise.server.content.RepoManagerRemote
org.rhq.enterprise.server.discovery.DiscoveryBossRemote#manuallyAddResource(@WebParam(name = "subject") Subject, @WebParam(name = "resourceTypeId") int, @WebParam(name = "parentResourceId") int, @WebParam(name = "pluginConfiguration") Configuration)
org.rhq.enterprise.server.install.remote.RemoteInstallManagerRemote
org.rhq.enterprise.server.registration.RegistrationManagerRemote
org.rhq.enterprise.server.resource.ResourceManagerRemote#getLiveResourceAvailability(@WebParam(name = "subject") Subject, @WebParam(name = "resourceId") int)
org.rhq.enterprise.server.search.SavedSearchManagerRemote
org.rhq.enterprise.server.tagging.TagManagerRemote

Changed

  1. org.rhq.enterprise.server.perspective.PerspectiveManagerRemote is basically reimplemented. The interface completely changed.

  2. org.rhq.enterprise.server.auth.SubjectManagerRemote#getSubjectByName(@WebParam(name = "username") String) is documented as deprecated.

  3. org.rhq.enterprise.server.discovery.DiscoveryBossRemote is now a webservice

Web Services

The org.rhq.enterprise.server.webservices.WebservicesRemote central RHQ web services interface newly extends:

  • AdvisoryManagerRemote

  • BundleManagerRemote

  • EntitlementStuffManagerRemote

  • DistributionManagerRemote

Client API

The RemoteClient newly exposes these remote services:

  • AdvisoryManagerRemote

  • BundleManagerRemote

  • DistributionManagerRemote

  • PerspectiveManagerRemote

  • SavedSearchManager

The ChannelManager was renamed to RepoManager which might cause breakage in existing client scripts using this functionality.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-12 14:00:03 UTC, last content change 2010-05-12 17:02:55 UTC.